The SFPackFile class is used to unpack a SFPack file to a SF2 file. You can create a SF2PackFile Object with the Engine.OpenSFPack method.
Method/Property |
Description |
If the SFPack file includes a License, you need to call this method before any call to SFPackFile.Inflate. |
|
Call from within the Event.Progress event to cancel the current packing. |
|
Error As SFPackErrorConst [R] |
Get the current Error status of the object. |
Returns the current Error status as a descriptive text. |
|
Returns the file the SFPackFile Object has been opened for (via Engine.OpenSFPack). This is also the default property. |
|
Returns an 0-based Integer array with all the sample data points of the specified sample. nSample is in the range of 0 to SampleCount-1. |
|
Returns the size of the specified sample in sample points. nSample is in the range of 0 to SampleCount-1. |
|
Returns a non zero value if the SFPack archive has a License file attached. |
|
Returns a non zero value if the SFPack archive has a Text file attached. |
|
Returns a non zero value if the SFPack archive is encrypted. If this is the case, you must set the proper password before calling the Inflate method. |
|
Returns a non zero value if the SFPack archive has been packed with the freeware version. |
|
The License that is attached to the SFPack file. |
|
Inflate the SFPack file to a SF2 file. During processing multiple Event.Progress events are triggered. |
|
Returns a 0-based byte array that contains the original Info-List chunk of the packed SF2 files. |
|
Returns the original (unpacked) size of the file in bytes. |
|
Sets the password for unpacking an encrypted archive |
|
Returns a 0-based byte array that contains the original Pdta-List chunk of the packed SF2 file. |
|
Total count of samples in the SFPack archive. |
|
Returns the size of the SFPack File in bytes. |
|
The Text that is attached to the SFPack file. |
|
Major part of the SFPack file version (currently 1) |
|
Minor part of the SFPack file version (currently 0) |